import {
    createRouter,
    createWebHashHistory
} from 'vue-router'


import indexView from "../views/index.vue";
import loginView from "../views/login.vue";
import selectView from "../views/select.vue";
import VisualDigitForwardView from "../views/Visual_Digit_Forward.vue";
import VisualDigitBackwardView from "../views/Visual_Digit_Backward.vue";
import ReciteDigitForwardView from "../views/Recite_Digit_Forward.vue";
import ReciteDigitbackwardView from "../views/Recite_Digit_backward.vue";
import finddifferentView from "../views/finddifferent.vue";
const router = createRouter({
    history: createWebHashHistory(),
    routes: [{
            path: '/',
            name: 'login',
            component: loginView,
            // meta: {
            //     requiresAuth: true
            // }
        }, {
            path: '/finddifferent',
            name: 'finddifferent',
            component: finddifferentView,
            // meta: {
            //     requiresAuth: true
            // }
        }, {
            path: '/ReciteDigitbackward',
            name: 'ReciteDigitbackward',
            component: ReciteDigitbackwardView,
            // meta: {
            //     requiresAuth: true
            // }
        }, {
            path: '/ReciteDigitForward',
            name: 'ReciteDigitForward',
            component: ReciteDigitForwardView,
            // meta: {
            //     requiresAuth: true
            // }
        }, {
            path: '/VisualDigitBackward',
            name: 'VisualDigitBackward',
            component: VisualDigitBackwardView,
            // meta: {
            //     requiresAuth: true
            // }
        }, {
            path: '/VisualDigitForward',
            name: 'VisualDigitForwardView',
            component: VisualDigitForwardView,
            // meta: {
            //     requiresAuth: true
            // }
        }, {
            path: '/select',
            name: 'select',
            component: selectView,
            // meta: {
            //     requiresAuth: true
            // }
        },
        {
            path: '/index',
            name: 'index',
            component: indexView,
            // meta: {
            //     requiresAuth: true
            // }
        }

    ]
})

export default router